<?php

$URL = 'http://localhost/xzpf/Fare/api.php/Home/Autobalance/auto';
$ch = curl_init();  
curl_setopt($ch, CURLOPT_URL, $URL);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_exec($ch);
curl_close($ch);